/**
 * File    : Passwords.java
 * Created : 2008-10-17
 * By      : LuHuiguo
 */
package com.luhuiguo.sso.web.model;

import org.apache.tapestry5.beaneditor.DataType;
import org.apache.tapestry5.beaneditor.Validate;

/**
 * @author LuHuiguo
 * @version $Id: Passwords.java 18 2008-10-18 06:21:32Z LuHuiguo $
 *
 */
public class Passwords {

	@Validate("required")
	@DataType("password")
	private String oldPassword;
	
	@Validate("required")
	@DataType("password")
	private String newPassword;

	@DataType("password")
	private String confirmPassword;

	public String getOldPassword() {
		return oldPassword;
	}

	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	public String getConfirmPassword() {
		return confirmPassword;
	}

	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}

	
	
}
